package com.alibaba.druid.spring.boot.autoconfigure;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.druid.pool.DruidDataSource;

/**
 * 扩展阿里连接池数据源，解决springboot启动参数注入异常BUG
 *
 * @author July july_sky@foxmail.com
 * @date 2018-03-09 16:34:07
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @version 1.0
 * @param null
 * @return
 */
public class QuevoDataSource extends DruidDataSource {
    
    
    /**
     * 
     */
    private static final long serialVersionUID = 2677998731638900657L;
    protected volatile List<String> connectionInitSqls = new ArrayList<>();

    public List<String> getConnectionInitSqls() {
        return connectionInitSqls;
    }

    public void setConnectionInitSqls(List<String> connectionInitSqls) {
        this.connectionInitSqls = connectionInitSqls;
    }
}
